save — Write workspace to a file
The save
function writes the contents of all the workspace
variables to a file. The file is then closed. The file may be
specified in the optional argument, with a default of SAVE
.
Functions are not saved. The variables can be read back from
the file by using the read
function (see
Page
).
This is not an built-in function. This function
is normally loaded on start-up from the save.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
save.r
may make this function unavailable.
Subsections